<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-resultData-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备编码：</label>
				<div class="col-sm-8">
					<input id="shebbh" name="shebbh" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备名称：</label>
				<div class="col-sm-8">
					<input id="shebmc" name="shebmc" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">设备型号：</label>
				<div class="col-sm-8">
					<input id="shebxh" name="shebxh" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单号：</label>
				<div class="col-sm-8">
					<input id="orderno" name="orderno" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工艺步骤：</label>
				<div class="col-sm-8">
					<input id="gongybz" name="gongybz" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">档位：</label>
				<div class="col-sm-8">
					<input id="parmeterset" name="parmeterset" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">扭矩：</label>
				<div class="col-sm-8">
					<input id="torque" name="torque" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">扭矩状态：</label>
				<div class="col-sm-8">
					<input id="torquestatus" name="torquestatus" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">角度：</label>
				<div class="col-sm-8">
					<input id="angle" name="angle" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">角度状态：</label>
				<div class="col-sm-8">
					<input id="anglestatus" name="anglestatus" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">状态：</label>
				<div class="col-sm-8">
					<input id="status" name="status" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者：</label>
				<div class="col-sm-8">
					<input id="userno" name="userno" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者名称：</label>
				<div class="col-sm-8">
					<input id="username" name="username" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">开始时间：</label>
				<div class="col-sm-8">
					<input id="starttime" name="starttime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">结束时间：</label>
				<div class="col-sm-8">
					<input id="endtime" name="endtime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工艺名称：</label>
				<div class="col-sm-8">
					<input id="craftname" name="craftname" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">扭矩范围要求：</label>
				<div class="col-sm-8">
					<input id="limit" name="limit" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">目标扭矩：</label>
				<div class="col-sm-8">
					<input id="targettorque" name="targettorque" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预紧扭矩：</label>
				<div class="col-sm-8">
					<input id="fasteningtorque" name="fasteningtorque" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">扭矩上限：</label>
				<div class="col-sm-8">
					<input id="upperlimit" name="upperlimit" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">扭矩下限：</label>
				<div class="col-sm-8">
					<input id="lowerlimit" name="lowerlimit" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">正在执行 1正在工作，2已完成，3未完成：</label>
				<div class="col-sm-8">
					<input id="nowstatus" name="nowstatus" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">左或右：</label>
				<div class="col-sm-8">
					<input id="leftorright" name="leftorright" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/resultData"
		$("#form-resultData-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-resultData-add').serialize());
	        }
	    }
	</script>
</body>
</html>
